package com.prs.crm.domain.ca.work;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author YangHao
 * @E-Mail:450098606@qq.com
 * @qq:450098606
 * @version 创建时间：2012-3-28 14:56:52 领用明细
 */
@Entity
@Table(name = "ca_tookParticular")
public class TookParticular extends BaseEntity {

	private static final long serialVersionUID = 1073334492947944971L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	/**
	 * 物品类别
	 */
	@ManyToOne
	private ArticleTypes tp_articleType;
	/**
	 * 品名
	 */
	private String tp_articlename; 
	/**
	 * 规格
	 */
	private String tp_articleStandard;
	/**
	 * 数量
	 */
	private String tp_number;
	/**
	 * 单位
	 */
	private String tp_unit;
	
	@ManyToOne
	private ArticleTook tp_articleTook;
	/**
	 * 物品管理员
	 */
	private String tp_ArticleAdminstrator;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public ArticleTypes getTp_articleType() {
		return tp_articleType;
	}

	public void setTp_articleType(ArticleTypes tpArticleType) {
		tp_articleType = tpArticleType;
	}

	public String getTp_articleStandard() {
		return tp_articleStandard;
	}

	public void setTp_articleStandard(String tpArticleStandard) {
		tp_articleStandard = tpArticleStandard;
	}

	public String getTp_number() {
		return tp_number;
	}

	public void setTp_number(String tpNumber) {
		tp_number = tpNumber;
	}

	public String getTp_unit() {
		return tp_unit;
	}

	public void setTp_unit(String tpUnit) {
		tp_unit = tpUnit;
	}
	

	public ArticleTook getTp_articleTook() {
		return tp_articleTook;
	}

	public void setTp_articleTook(ArticleTook tpArticleTook) {
		tp_articleTook = tpArticleTook;
	}

	public String getTp_ArticleAdminstrator() {
		return tp_ArticleAdminstrator;
	}

	public void setTp_ArticleAdminstrator(String tpArticleAdminstrator) {
		tp_ArticleAdminstrator = tpArticleAdminstrator;
	}

	public String getTp_articlename() {
		return tp_articlename;
	}

	public void setTp_articlename(String tpArticlename) {
		tp_articlename = tpArticlename;
	}
	
}
